// 分割大的base64数据为块
export function splitBase64IntoChunks(base64Data, chunkSize) {
    const totalChunks = Math.ceil(base64Data.length / chunkSize);
    const chunks = [];
    for (let i = 0; i < totalChunks; i++) {
        const start = i * chunkSize;
        const end = start + chunkSize;
        const chunk = base64Data.slice(start, end);
        chunks.push(chunk);
    }
    return chunks;
}
